<!DOCTYPE html>
<taglib name="html" />
<html ng-app="App">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>{$Think.lang.web_name}-管理后台</title>
    <!-- UIKIT -->
    <load href="__PUBLIC__/{:UIKIT}/css/uikit.almost-flat.min.css" />
	 <load href="__PUBLIC__/Home/css/inner.css" />
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->

    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <load href="__PUBLIC__/Common/js/jquery-1.11.2.min.js"/>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <load href="__PUBLIC__/{:UIKIT}/js/uikit.min.js"/> 
	<load href="__PUBLIC__/Common/dist/jquery.validate.min.js"/> 	
	<load href="__PUBLIC__/Common/dist/define_methods.js"/>
<style>
form input[type=text],input[type=password],textarea,select{
width:400px;
}
.uk-table-hover{
min-width:1200px;
}
</style>
	
<script language="JavaScript">
$(function(){
//验证FORM

$("form").each(function(){
$(this).validate();
})

//全选和反选
$("#checkall").click(function(){
 if ($(this).is(":checked"))
	$("input[name='check_child']").prop("checked", true);
 else
	$("input[name='check_child']").prop("checked", false);
})


})

//弹出窗口页
function openwin(url) {
	　　window.open (url, "view window", "width=1000 ,scrollbars=yes"); //写成一行
　　}
//批量删除
function bulkdel(url){
	var chk_value =[];
	$('input[name="check_child"]:checked').each(function(){
	chk_value.push($(this).val());
	});
	chk_value.length ? location.href=url+"/"+chk_value : UIkit.modal.alert("没有选择任何项目！");	
}	

//确认删除	
function confirmDelete(url,notice){
	  if(notice===undefined)notice="{$Think.lang.confirm_delete}";
	   UIkit.modal.confirm(notice, function(){
		location.href=url;
		});
}

function logout(){
UIkit.modal.confirm("Are you sure?", function(){
    location.href="__MODULE__/Public/logout";
})
}

</script>	
	</head>
	<body style="min-width:1280px;">

<nav class="tm-navbar uk-navbar">

	<a target=_blank href="__APP__"><img  class="uk-navbar-brand" src="__PUBLIC__/Common/img/logo_mini.png" style="height:40px;"/></a>

	 <div class="uk-navbar-content">
	 <i class="uk-icon-user"></i>&nbsp;{$Think.lang.welcome}，{$authInfo.account}
	 </div>
	 <div class="uk-navbar-content">
	 {$Think.lang.base_currency}：&nbsp;{$web_config.web_currency}
	 </div>	 
	<div class="uk-navbar-flip">
    <ul class="uk-navbar-nav">
					<li class="uk-parent" data-uk-dropdown>
						<a href="">
						<i class="uk-icon-user"></i>&nbsp;	{$Think.lang.admin_module}&nbsp;<i class="uk-icon-caret-down"></i>
						</a>
						 <div class="uk-dropdown uk-dropdown-navbar">
						<ul class="uk-nav uk-nav-navbar">
							<li>
								<a  href="__MODULE__/Member/index">
									{$Think.lang.admin_list}
								</a>
							</li>
							<li>
								<a  href="__MODULE__/Group/index">
									{$Think.lang.admin_group}
								</a>
							</li>
							<li>
								<a  href="__MODULE__/Access/index">
									{$Think.lang.access_list}
								</a>
							</li>
							<li>
								<a  href="__MODULE__/Advance/index">
									{$Think.lang.senior_operation}
								</a>
							</li>
							<li>
								<a  href="__MODULE__/Weblog/index">
									{$Think.lang.admin_log}
								</a>
							</li>							
						</ul>
						</div>
					</li>
					<li>
						<a href="__MODULE__/Config/index">
							<i class="uk-icon-cog"></i>&nbsp;{$Think.lang.config}
						</a>
					</li>	
					<li>
						<a  href="__MODULE__/DB/index">
							<i class="uk-icon-bookmark"></i>&nbsp;{$Think.lang.db_backup}
						</a>
					</li>
					<li>
						<a  href="__MODULE__/Index/setting"> 
							<i class="uk-icon-table"></i>&nbsp;{$Think.lang.setting}
						</a>
					</li>	
	<li><a  href="__MODULE__/Config/phpinfo" target=_blank><i class="uk-icon-code"></i>&nbsp;PHPINFO</a></li>
			
			            <li><a href="javascript:void(0)" onclick="logout()">
			<i class="uk-icon-power-off"></i>&nbsp;{$Think.lang.logout}</a></li>

	</ul>
   </div>

</nav>
<p>
	<notempty name="YEAR">
<div class="uk-alert uk-alert-warning">
	请注意，您当前查看的部分数据如订单，对账单,保证金等使用的是{:YEAR}年的的数据。点击右侧x按钮可继续查看最新的数据。
<a href="__CONTROLLER__/setyear" class="uk-close"></a>
</div>
</notempty>
</p>

<div class="uk-grid">

<div class="uk-width-1-6">
<div class="s-bg">
	
<ul class="uk-nav uk-nav-offcanvas  uk-nav-parent-icon " data-uk-nav>
					<li>
						<a  href="__MODULE__/Index/index">
							{$Think.lang.home}
						</a>
					</li>

					<li>
						<a  href="__MODULE__/Application/index">
							{$Think.lang.application}
						</a>
					</li>
					<li>
						<a  href="__MODULE__/Exchange/index">
							{$Think.lang.exchange}
						</a>
					</li>	
					<li class="uk-nav-divider">
					</li>									
					<li>
						<a  href="__MODULE__/Orders/index">
							{$Think.lang.order_module}
						</a>
					</li>					
								<li>
								<a  href="__MODULE__/Merchant/index">
									{$Think.lang.mh_list}
								</a>
							</li>
					<li>
								<a  href="__MODULE__/Site/index">
									{$Think.lang.web_list}
								</a>
							</li>
							<li>
								<a  href="__MODULE__/Rolling/index">
									{$Think.lang.rolling_list}
								</a>
							</li>
							<li>
								<a  href="__MODULE__/Withdraw/index">
									{$Think.lang.withdraw_list}
								</a>
							</li>
							<li>
								<a  href="__MODULE__/Statement/index">
									{$Think.lang.statement_list}
								</a>
							</li>
					<li id="reseller" class="uk-parent <eq name='display_nav' value='reseller'>uk-active</eq>">
						<a href="#">
							{$Think.lang.reseller_module}
						</a>
						<ul class="uk-nav-sub">
							<li>
								<a  href="__MODULE__/Reseller/index">
									{$Think.lang.reseller_list}
								</a>
							</li>
							<li>
								<a  href="__MODULE__/Resellermerchant/index">
									{$Think.lang.reseller_merchant_list}
								</a>
							</li>
							<li>
								<a  href="__MODULE__/Resellerstatement/index">
									{$Think.lang.reseller_statement}
								</a>
							</li>
							<li>
								<a  href="__MODULE__/Resellerwithdraw/index">
									{$Think.lang.reseller_withdraw}
								</a>
							</li>							
						</ul>
					</li>
					<li id="cms" class="uk-parent <eq name='display_nav' value='cms'>uk-active</eq>">
						<a href="#">
							{$Think.lang.cms_module}
						</a>
						<ul class="uk-nav-sub">
							<li>
								<a  href="__MODULE__/Cms/index">
									{$Think.lang.cms_list}
								</a>
							</li>
							<li>
								<a  href="__MODULE__/News/index">
									{$Think.lang.news_list}
								</a>
							</li>
							<li>
								<a  href="__MODULE__/Notice/index">
									{$Think.lang.notice_list}
								</a>
							</li>
							<li>
								<a  href="__MODULE__/Inotice/index">
									{$Think.lang.ips_notice}
								</a>
							</li>

						</ul>
					</li>

					<li class="uk-nav-divider">
					</li>
					<li>
						<a  href="__MODULE__/Autoperform/index">
							{$Think.lang.auto_perform}
						</a>
					</li>
	<li>
		<a  href="__MODULE__/Bulk/index">
			{$Think.lang.bulk_operate}
		</a>
	</li>				
					<li>
						<a  href="__MODULE__/Statistics/index">
							{$Think.lang.statistics}
						</a>
					</li>

					<li>
						<a  href="__MODULE__/Channels/index">
							{$Think.lang.channel}
						</a>
					</li>					
					<li>
						<a  href="__MODULE__/Tracking/index">
							{$Think.lang.tracking}
						</a>
					</li>
					<li>
						<a  href="__MODULE__/Delivery/index">
							{$Think.lang.delivery}
						</a>
					</li>
					<li>
						<a  href="__MODULE__/Blacklist/index">
							{$Think.lang.black_list}
						</a>
					</li>


				</ul>
</div>
</div>


<div class="uk-width-5-6">
<div class="uk-panel uk-panel-box uk-panel-box-secondary uk-panel-header">
<h3 class="uk-panel-title">{$main_title|default="Dashboard"}</h3>


    {__CONTENT__}
<hr>
<i class="uk-icon-lightbulb-o"></i> Tips:<br>
		<ul class="uk-list">
	<li>1.一般来说，排序数字越大，前台显示越靠前。</li>
	<li>2.状态，一般表示的意思是否可用，是否激活，是否显示，是否处理，是否删除，是否释放等。</li>
	<li>3.如无特别说明，系统金额都以{$web_config.web_currency}计算。</li>
	<li>4.系统所有限制频率，次数的值如果为0，如无特别说明，一般即表示不限制。</li>
	<li>5.如果你编辑页面有刷新缓存按钮，建议你在编辑成功后，点击一下该功能。</li>
	<li>6.平台对于如订单，对账单，保证金，IPS通知等只记录最近12个月的信息，如需查询更早的信息，请切换相应年份的数据库。</li>
	</ul>
	<div style="height:100px;">
	</div>
</div>

</div>
</div>
<div style="height:20px;"></div>	
</body>
</html>